import json
from config import BASE_DIR

def read_json_file(json_file):
    with open(json_file, 'r',encoding='utf-8') as f:
        json_data = json.load(f)
        login_list = []
        for data in json_data:
            val = data.values()
            tmp = tuple(val)
            data.append(tmp)
        return login_list


if __name__ == '__main__':
    filename = BASE_DIR +'/data/login_data.json'
    res =read_json_file(filename)
    print(res)